package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
import java.sql.Time;;

/**
 * <h1>秒杀场次设置表表 micro_seckill_scene</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "秒杀场次设置表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_seckill_scene")
public class SeckillScene implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 场次名称
     */
    @ApiModelProperty(value = "场次名称")
    private String sceneName;


    /**
     * 每日开始时间
     */
    @ApiModelProperty(value = "每日开始时间")
    private Date startTime;


    /**
     * 每日结束时间
     */
    @ApiModelProperty(value = "每日结束时间")
    private Date endTime;


    /**
     * 时间状态 1.启用 2.禁用 默认启用
     */
    @ApiModelProperty(value = "时间状态 1.启用 2.禁用 默认启用")
    private Byte timeStatus;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    /**
     * 限购场次编号
     */
    @ApiModelProperty(value = "限购场次编号")
    private String sceneCode;

}
